home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 3 / QRZ Ham Radio Callsign Database - Volume 3.iso / digests / tcp / 930318.txt < prev    next >
Internet Message Format  |  1994-06-04  |  4KB

  1. Date: Fri, 10 Dec 93 04:30:07 PST
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V93 #318
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Fri, 10 Dec 93       Volume 93 : Issue  318
  11.  
  12. Today's Topics:
  13.                          NOS compile (2 msgs)
  14.  
  15. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  16. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  17. Problems you can't solve otherwise to brian@ucsd.edu.
  18.  
  19. Archives of past issues of the TCP-Group Digest are available
  20. (by FTP only) from UCSD.Edu in directory "mailarchives".
  21.  
  22. We trust that readers are intelligent enough to realize that all text
  23. herein consists of personal comments and does not represent the official
  24. policies or positions of any party.  Your mileage may vary.  So there.
  25. ----------------------------------------------------------------------
  26.  
  27. Date: Thu, 9 Dec 93 09:43:12 EST
  28. From: crompton@NADC.NADC.NAVY.MIL (D. Crompton)
  29. Subject: NOS compile
  30. To: aroberts%csunb.mit.csu.edu.au@NADC.NADC.NAVY.MIL, tcp-group@ucsd.edu
  31.  
  32. Adam,
  33.  
  34.  This is a commonly asked question. Actually there should be a note in
  35. the makefile about this. I have put one in in some versions that I did.
  36.  
  37. The problem is that you are trying to compile in to many modules and there
  38. is not enough DGROUP room in it's 64K segment.
  39.  
  40. The answer is to use the -Ff=xxxx compiler option. This would go in to
  41. makefile in the same line as other compiler options.
  42.  
  43. The xxxx is set to the MAXIMUM value that will allow a compile. If the
  44. -Ff line is left off altogether  it defaults to 32767.
  45.  
  46. Setting it to say 1023 means that any data segment larger than that will
  47. be forced to far data, thus freeing up some DGROUP room.
  48.  
  49. 1023 is a standard number and is actually in many of the makefiles. I have
  50. gone as low as 255 in some compiles. 
  51.  
  52. You MUST do a complete recompile (touch *.c or del *.obj) in between the
  53. changes. Just keep lowering it in say 256 steps until in goes.
  54.  
  55. You CANNOT compile everything in! You will reach a limit where resources
  56. just do not exist and you will have to make a decision to drop some module.
  57.  
  58. When using the -Ff directive the data that is forced FAR will give a
  59. warning message -  Near data xxx is being made far -  or whatever - YOu
  60. can safetly ignore this.
  61.  
  62. The other thing that could be done in the code is to go thru it and make
  63. large data areas (like command table) dar data to begin with. I am not
  64. suggesting you do that, but I know someone who has.
  65.  
  66. I suggest to the developers that they include a message to this effect in the makefile.
  67.  
  68.  
  69. Doug
  70.  
  71. ------------------------------
  72.  
  73. Date: 09 Dec 1993 08:30:08 GMT
  74. From: "Robert D Nielsen" <0060880@CCMAIL.EMIS.hac.com>
  75. Subject: NOS compile
  76. To: TCP-Group@UCSD.EDU
  77.  
  78. aroberts@csunb.mit.csu.edu.au writes:
  79.  
  80. >Hello all, I am trying to compile the latest version of nos that I FTP'd
  81. >recently and am having problems.
  82. >
  83. >Using Borland C++ 3.1 , when I compile the src of jn110x14  (or jn110x10) I
  84. >receive errors at the "TurboLink" line:
  85. >
  86. >......
  87. >ERROR: Group DGROUP exceeds 64K
  88. >
  89. >* error 1 *   deleting nos.exe
  90. >.....
  91. >
  92. >I am not a c programmer (yet) but do know about makefile's and config.h files.
  93. >
  94. >If I use the supplied distconf.h as the config.h file it compiles OK, but
  95. >when I want to define some others into it (even just one of : IPACCESS or
  96. >ENCAP or LZW) it crashes and I do not get an .exe file.
  97.  
  98.  
  99. Look in MAKEFILE for a line that begins with "CFLAGS= " and change the -Ff
  100. parameter to a smaller number.  Don't go any smaller than you need to in
  101. order to get the compilation to work.
  102.  
  103. Bob Nielsen
  104. w6swe@tapr.org
  105. 0060880@ccmail.emis.hac.com
  106. nielsen@igate1.hac.com
  107.  
  108. ------------------------------
  109.  
  110. End of TCP-Group Digest V93 #318
  111. ******************************
  112. ******************************
  113.